<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<<c:set var="path" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="./Js/prototype.lite.js" type="text/javascript"></script>
    <script src="./Js/moo.fx.js" type="text/javascript"></script>
    <script src="./Js/moo.fx.pack.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="./Style/skin.css" />
    <script type="text/javascript">
        window.onload = function () {
            var contents = document.getElementsByClassName('content');
            var toggles = document.getElementsByClassName('type');

            var myAccordion = new fx.Accordion(
                toggles, contents, {opacity: true, duration: 400}
            );
            myAccordion.showThisHideOpen(contents[0]);
            for(var i=0; i<document .getElementsByTagName("a").length; i++){
                var dl_a = document.getElementsByTagName("a")[i];
                dl_a.onfocus=function(){
                    this.blur();
                }
            }
        }
    </script>
</head>

<body>
<table width="100%" height="280" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEF2FB">
    <tr>
        <td width="182" valign="top">
            <div id="container">
                <h1 class="type"><a href="javascript:void(0)">网站栏目</a></h1>
                <div class="content">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">

                    </table>

                </div>
                <h1 class="type"><a href="javascript:void(0)">管理员信息管理</a></h1>
                <div class="content">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><img src="./Images/menu_top_line.gif" width="182" height="5" /></td>
                        </tr>
                    </table>
                    <ul class="RM">

                        <li><a href="./addAdmin.jsp" target="main">添加管理员</a></li>
                        <li><a href="${pageContext.request.contextPath}/AdminServlet?mark=adminList" target="main">管理员列表</a></li>
                    </ul>
                </div>
                <h1 class="type"><a href="javascript:void(0)">航班管理</a></h1>
                <div class="content">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><img src="./Images/menu_top_line.gif" width="182" height="5" /></td>
                        </tr>
                    </table>
                    <ul class="RM">

                        <%--                        <li><a href="addFlight.jsp" target="main">添加航班</a></li>--%>
                        <li><a href="/Flight?mark=selectAllAirLine" target="main">航线列表</a></li>
                        <li><a href="addLine.jsp" target="main">添加航线</a></li>

                    </ul>
                </div>
                <!-- *********** -->
                <h1 class="type"><a href="javascript:void(0)">订单信息管理</a></h1>
                <div class="content">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><img src="./Images/menu_top_line.gif" width="182" height="5" /></td>
                        </tr>
                    </table>
                    <ul class="RM">
                        <li><a href="${path}/AdminServlet?mark=ListOrder" target="main">订单信息列表</a></li>
                    </ul>
                </div>
                <!-- *********** -->
                <h1 class="type"><a href="javascript:void(0)">用户管理</a></h1>
                <div class="content">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><img src="./Images/menu_top_line.gif" width="182" height="5" /></td>
                        </tr>
                    </table>
                    <ul class="RM">


                        <li><a href="${path}/AdminServlet?mark=ListUsers" target="main">用户列表</a></li>
                    </ul>
                </div>

                <div class="content">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><img src="./Images/menu_top_line.gif" width="182" height="5" /></td>
                        </tr>
                    </table>

                </div>
                <!-- *********** -->
                <h1 class="type"><a href="javascript:void(0)">其它设置</a></h1>
                <div class="content">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><img src="./Images/menu_top_line.gif" width="182" height="5" /></td>
                        </tr>
                    </table>
                    <ul class="RM">
                        <li><a href="javascript:void(0)" target="main">友情连接</a></li>
                        <li><a href="javascript:void(0)" target="main">在线留言</a></li>
                        <li><a href="javascript:void(0)" target="main">网站投票</a></li>
                        <li><a href="javascript:void(0)" target="main">邮箱设置</a></li>
                        <li><a href="javascript:void(0)" target="main">图片上传</a></li>
                    </ul>
                </div>
                <!-- *********** -->
            </div>
        </td>
    </tr>
</table>
</body>
</html>